package com.hd.swagger0411;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableKnife4j//doc.html
@EnableSwagger2//swagger_ui.html
@SpringBootApplication
@ServletComponentScan //开启扫描原生的servlet
public class Swagger0411Application {

    public static void main(String[] args) {
        SpringApplication.run(Swagger0411Application.class, args);
    }

}
